<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title></title>
		<script src="js/mui.min.js"></script>
		<link href="css/mui.min.css" rel="stylesheet" />
		<link rel="stylesheet" href="css/aa.css" />
		<link rel="stylesheet" href="iconfont/iconfont.css" />
		<script src="js/html5shiv.min.js"></script>
		<script src="js/selectivizr-min.js"></script>
		<script src="js/shipei.js"></script>
		<style>
		</style>
	</head> 

	<body>
		<div class="box">
			<header></header>
			<section></section>
			<footer>
				<ul class="navfooter">
					<li>
						<a href="home.html">
							<i class="iconfont">&#xe603;</i>
							<span>药品</span>
						</a>
					</li>
					<li>
						<a href="zhaoyao.html">
							<i class="iconfont">&#xe662;</i>
							<span>医院</span>
						</a>
					</li>
					<li>
						<a href="shop.html">
							<i class="iconfont">&#xe641;</i>
							<span>更多</span>
						</a>
					</li>
					<li>
						<a href="wode.html">
							<i class="iconfont">&#xe60a;</i>
							<span>我的</span>
						</a>
					</li>

				</ul>
			</footer>
		</div>
	</body>
	<script type="text/javascript" charset="utf-8">
		mui.init();
		mui.plusReady(function() {
			child = [
				"home.html",
				"wode.html",
				"zhaoyao.html",
				"shop.html",
			]
			var cc = plus.webview.currentWebview();
			for(var i = 0; i < child.length; i++) {

				var item = plus.webview.create(child[i], child[i], {
					bottom: "50px",
					top: "0px"
				})

				cc.append(item)

				item.hide();
			}

			plus.webview.show(child[0]);
			console.log(child[2])
			mui('.navfooter').on("tap", 'a', function() {
				var href = mui(this)[0].getAttribute("href")
				plus.webview.show(href);
			})
		})
	</script>

</html>